#ifndef TASK_H_INCLUDED
#define TASK_H_INCLUDED

#include <string>
using namespace std;

class Task {
public:
	Task():name(name), start(0), end(0) {}
	Task(string &name, int start, int end) : name(name), start(start), end(end) {}
	void setStart(int start) { this->start = start; }
	int getStart() const { return this->start; }
	void setEnd(int end) { this->end = end; }
	int getEnd() const { return this->end; }
	void setName(string& name) { this->name = name; }
	string getName() const { return this->name; }
	void setNext(Task* next) { this->next = next; }
	Task* getNext() const { return this->next; }
	
private:
	int start;
	int end;
	string name;
	Task* next;
};

#endif

